package com.jd.platform.gobrs.worker.netty.pusher;

import com.jd.platform.gobrs.common.model.GCacheKeyModel;
import com.jd.platform.gobrs.common.model.KeyTraffic;

/**
 * @author sizegang wrote on 2020-02-24
 * @version 1.0
 */
public interface IPusher {
    void push(GCacheKeyModel model);
    void pushAutoKey(KeyTraffic model);

    /**
     * worker是监听不到删除事件了，client不往worker发删除事件了
     */
    @Deprecated
    void remove(GCacheKeyModel model);
}
